﻿@model ElectronicDiary.Models.Teacher.ColumnViewModel

@if (Model.Type == "U")
{
    <td style="
        width:120px;
        vertical-align:bottom;
        font-family: ‘Trebuchet MS’, Helvetica, sans-serif;
	    font-size:22px;
	    font-weight:normal;
	    text-shadow: 0px 0px 1px #333;
	    color:#333;">
        @Html.HiddenFor(x => x.Name)
        <div>@Html.DisplayFor(x => x.Name)</div>   
    </td>
}
else
{
    <td class="rotated_cell">
        @Html.HiddenFor(x => x.Name)
        <div class="rotate_text">@Html.GradeDescr(Model.Name, 18)</div>
    </td>
}